<?php
//api 请求 需要头部包含：X-Requested-With:XMLHttpRequest
Route::group('api', function () {
    //退出登录【通用】
    Route::group('user', function () {
        Route::post('login', 'user/public/login');
    });
});
Route::group('user', function () {
    Route::get('login', 'user/view.public/login');
    Route::get('logout', 'user/view.public/logout');
});
return [

];
